<?php
include("admin/cls/cls_user.php");
$user = new cls_user ();
$image_id=$_GET["image_id"];
$user_id=$_GET["user_id"];
$image_name=$_GET["image_name"];
$dir_file='files_users/'.$image_name;
$var=$user->deleteFilesUsers($user_id, $image_id);
if (file_exists($dir_file)){
unlink($dir_file); 
echo"yes";
}
else{
	echo"no";
}
?>